import request from '@/utils/request'

// 获取所有检卡信息
export function getCheckcardAll() {
    return request({
        url: `/api/BaseData/checkcard/All`,
        method: 'GET'
    })
}
// 获取检卡列表
export function getCheckcardList(data) {
    return request({
        url: '/api/BaseData/checkcard',
        method: 'GET',
        data,
    })
}

// 删除检卡
export function deleteCheckcardById(id) {
    return request({
        url: `/api/BaseData/checkcard/${id}`,
        method: 'DELETE'
    })
}

// 批量删除检卡
export function deleteBatchRemove(data) {
    return request({
        url: `/api/BaseData/checkcard/batchRemove`,
        method: 'POST',
        data:data
    })
}


// 批量删除检卡
export function Export(data) {
    return request({
        url: `/api/BaseData/checkcard/Actions/Export`,
        method: 'GET',
        data:data
    })
}